﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameFramework.Data;
using GameFramework.DataTable;
using UnityGameFramework.Runtime;

namespace TowerDefence_Zombie.Data
{
    public class EnemyData
    {
        private DREnemy dREnemy;

        public int Id
        {
            get
            {
                return dREnemy.Id;
            }
        }

        public int EntityId
        {
            get
            {
                return dREnemy.EntityId;
            }
        }

        public string Type
        {
            get
            {
                return dREnemy.Type;
            }
        }

        public float MaxHP
        {
            get
            {
                return dREnemy.MaxHP;
            }
        }

        public float Range
        {
            get
            {
                return dREnemy.Range;
            }
        }

        public float Speed
        {
            get
            {
                return dREnemy.Speed;
            }
        }

        public EnemyData(DREnemy dREnemy)
        {
            this.dREnemy = dREnemy;
        }
    }
}


